home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
borland
/
jnfb88.zip
/
CFLOAT.ZIP
/
DNORMAL2.C
< prev
next >
Wrap
Text File
|
1987-06-23
|
228b
|
11 lines
/* Listing 2: */
double x,y,z;
main(){
x = 1.e-300;
y = x *(1. + 1.e-15);
z = x - y;
if (z == 0.) puts("z = 0, even though z = x - y and");
if (x == y) puts("x == y"); else puts("x != y");
}